package cn.ibizlab.odoo.core.odoo_hr.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_hr.domain.Hr_recruitment_stage;
import cn.ibizlab.odoo.core.odoo_hr.filter.Hr_recruitment_stageSearchContext;

/**
 * 实体[Hr_recruitment_stage] 服务对象接口
 */

public interface IHr_recruitment_stageService{
     Hr_recruitment_stage get(Integer id) ;
     Hr_recruitment_stage get(Hr_recruitment_stage hr_recruitment_stage) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean create(Hr_recruitment_stage hr_recruitment_stage) ;
     boolean update(Hr_recruitment_stage hr_recruitment_stage) ;
     void createBatch(List<Hr_recruitment_stage> hr_recruitment_stages, int batchSize) ;
     boolean remove(Integer id) ;
     void updateBatch(List<Hr_recruitment_stage> hr_recruitment_stages, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Hr_recruitment_stage> searchDefault(Hr_recruitment_stageSearchContext context) ;

    /**
     * 根据工作岗位查询
     */
     Page<Hr_recruitment_stage> selectByOdoo_job(Integer id) ;

    /**
     * 根据EMail模板查询
     */
     Page<Hr_recruitment_stage> selectByOdoo_template(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Hr_recruitment_stage> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Hr_recruitment_stage> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Hr_recruitment_stage convert2Domain(cn.ibizlab.odoo.core.client.model.Ihr_recruitment_stage model ,Hr_recruitment_stage domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Ihr_recruitment_stage convert2Model(Hr_recruitment_stage domain , cn.ibizlab.odoo.core.client.model.Ihr_recruitment_stage model);

}
